﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using STF.OrangeDog.Dtos;

namespace STF.OrangeDog.IService
{
    public interface IUsersInfoBll
    {
        Task<int> AddUsersInfoAsync(string RealName, DateTime Birthday, int Gender, string WeChat, string Tel, string Address, string Photo, decimal Amount, int Uid);
        Task<int> EditUsersInfoAsync(int Id, string RealName, DateTime Birthday, int Gender, string WeChat, string Tel, string Address, string Photo, decimal Amount, int Uid);
        Task<int> DeleteUsersInfoAsync(int Id);
        Task<IEnumerable<UsresInofDtos>> GetAll(int DeleteId = 1);
        Task<UsresInofDtos> GetDataById(int Id);
    }
}
